package com.codedancer.campus.client.service.vo.lostFoundItem;

import com.codedancer.campus.enums.LostFoundItemStatus;
import com.codedancer.campus.enums.LostFoundItemType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
@ApiModel("失物招领物品Vo")
public class LostFoundItemVo {

    @ApiModelProperty("物品uuid")
    private String uuid;

    @ApiModelProperty("物品名称")
    private String name;

    @ApiModelProperty("物品描述")
    private String description;

    @ApiModelProperty("物品状态 1表示待审核 2未通过 3表示未认领 4表示已认领 5表示未找到 6表示已找到 7表示已撤回")
    private LostFoundItemStatus status;

    @ApiModelProperty("第一张图片")
    private String firstImage;

    @ApiModelProperty("物品全部图片")
    private List<String> images;

    @ApiModelProperty("发布学校")
    private String publishSchoolName;

    @ApiModelProperty("发布人uuid")
    private String publishUserUuid;

    @ApiModelProperty("发布人昵称")
    private String publishNickName;

    @ApiModelProperty("拾取或丢失地点")
    private String location;

    @ApiModelProperty("联系方式")
    private String contactWay;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("物品类型 1表示拾取 2表示丢失 ")
    private LostFoundItemType type;

    @ApiModelProperty("浏览次数")
    private Integer viewNumber;

    @ApiModelProperty("发布人头像")
    private String publishUserAvatar;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("分类uuid")
    private String categoryUuid;

    @ApiModelProperty("是否同步到自由广场")
    private Boolean isSyncLibertySquare;
}
